<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <style>

    </style>
</head>
<body>
<!--<form class="layui-form" action="">-->
<!--//    SELECT-->
<!--//    t_class.pkid,-->
<!--//    t_class.f_className,-->
<!--//    t_class.f_leader,-->
<!--//    t_class.f_tel,-->
<!--//    t_class.fk_areaId-->
<!--//            FROM-->
<!--//    t_class-->
    <div class="layui-form-item">
        <label class="layui-form-label">班级名</label>
        <div class="layui-input-block">
            <input type="text" name="f_className" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
        </div>
    </div>
<div class="layui-form-item">
    <label class="layui-form-label">负责人</label>
    <div class="layui-input-block">
        <input type="text" name="f_leader" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">负责人电话</label>
    <div class="layui-input-block">
        <input type="text" name="f_tel" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">选择框</label>
      <div class="layui-input-block">
        <select name="city" lay-verify="required" id="selectComp">

      </select>
    </div>
</div>
    <!--<div class="layui-form-item">-->
        <!--<div class="layui-input-block">-->
            <!--<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>-->
            <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
        <!--</div>-->
    <!--</div>-->
<!--</form>-->
</body>
<script src="../layui/layui.js"></script>
<script>
    //Demo
    layui.use('form', function(){
        var form = layui.form;
    //
    //     //监听提交
    //     form.on('submit(formDemo)', function(data){
    //         layer.msg(JSON.stringify(data.field));
    //         return false;
    //     });
    });
    // window.onload=function () {
    //     let selectComp=document.getElementById("selectComp");
    // }
</script>
</html>